<?php if (!defined('THINK_PATH')) exit(); $title = isset($_GET['name']) ? $_GET['name'] : '公司文化'; ?>
<!DOCTYPE html>
<html>
<head>
 	<title>新闻发布网--列表页</title>
 	<link rel="stylesheet" type="text/css" href="/Public/css/home.css">
</head>
<body>

<div class="banner">
新闻发布系统
</div>
<div class="menu">
<a href="/Home/Index">首页</a>
<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?><a href="/Home/Index/lista?name=<?php echo ($data["classname"]); ?>&classId=<?php echo ($data["classid"]); ?>"><?php echo ($data["classname"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<div class="content">
	<div class="contentleft"><div class="list">
<h3 class="ggtitle">公告</h3>
<marquee style="margin: 0px;padding: 0px;" direction="up" scrollamount="3" onMouseOver="this.stop()" onMouseout="this.start()"><!-- 滚动 鼠标点上去就静止-->
<ul class="ggcontent">
<?php if(is_array($xw)): $i = 0; $__LIST__ = $xw;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$x): $mod = ($i % 2 );++$i;?><li><a href='/Home/Index/details?infoid=<?php echo ($x["infoid"]); ?>&infocount=<?php echo ($x["infocount"]); ?>'><?php echo ($x["infotitle"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>	
</ul>
</marquee>
</div>
<div class="list">
<h3 class="ggtitle">公司新闻</h3>

<ul class="ggcontent">
<?php if(is_array($xw)): $i = 0; $__LIST__ = $xw;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$xw): $mod = ($i % 2 );++$i;?><li><a href='/Home/Index/details?infoid=<?php echo ($xw["infoid"]); ?>&infocount=<?php echo ($xw["infocount"]); ?>'><?php echo ($xw["infotitle"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>

</div>
<div class="list">
<h3 class="ggtitle">联系我们</h3>
<ul class="ggcontent">
	<li>公司名：江西南昌某某有限公司</li>
	<li>地址：江西省南昌市青山湖区</li>
	<li>企业QQ：2350768356</li>
	<li>电子邮件：15070942@163.com</li>
	<li>联系电话：0791-88342152</li>
</ul>
</div></div>
	<div class="contentright">
	<div class="pos">首页/<?php echo $title; ?>
	
	
	<ul class="listcontent">
	<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
		
		<a href="/Home/Index/details?infoid=<?php echo ($vo["infoid"]); ?>&infocount=<?php echo ($vo["infocount"]); ?>"><?php echo ($vo["infotitle"]); ?></a>
		<?php echo ($vo["infodatetime"]); ?>
		留言次数：<?php echo ($vo["infocount"]); ?>
		</li><?php endforeach; endif; else: echo "" ;endif; ?>
	</ul>
		<div class="page">
		
		<?php echo ($page); ?>
			<!-- <a href="/Home/Index/lista?name=<?php echo $title; ?>&classId=<?php echo $classid ?>&page=1">首页</a> 
			<a href="/Home/Index/lista?name=<?php echo $title; ?>&classId=<?php echo $classid ?>&$page-1">上一页</a> 
			<a href="/Home/Index/lista?name=<?php echo $title; ?>&classId=<?php echo $classid ?>&$page+1">下一页</a>
			<a href="/Home/Index/lista?name=<?php echo $title; ?>&classId=<?php echo $classid ?>&$pagecount">尾页</a> -->
		</div>
	</div>
</div>
<div style="clear: both;"></div>
<div class="copyright">
版权所有：作者 地址  电话号码 2019-4-20
</div>

</body>
</html>